package day3.aop;

import org.springframework.stereotype.Component;

@Component
public class Logging {
public void beforeAdvise() {
	System.out.println("方法执行之前调用的方法");
}
public void afterReturn(Object obj) {
	System.out.println("方法执行结束,返回值是:"+obj);
}
public void afterException(Exception e) {
	System.out.println("方法执行,抛出异常："+e);
}
}
